﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GRTVPluginConsole.Entity
{
    public class Overtake:Event
    {
        
        private string timing = null;

         public byte newPlace;
         public string nameWinner;
         public string nameLooser; 

        public override string ToString() {
            if (timing == null)
            {
             timing = new DateTime((long)overtakeET * 10000000).ToString("HH:mm:ss");
            }
            return timing + " - " + nameWinner + " is now " + newPlace + " > " + nameLooser;
        }
    }
}
